package com.boot;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.Banner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableAsync;

/**
 * @Description:
 * @Author: HuangX
 * @Date: 2021/3/3
 */
@Slf4j
@EnableAsync//开启异步
@SpringBootApplication
public class BootApplication {
    public static void main(String[] args) {
        SpringApplication app = new SpringApplication(BootApplication.class);
        app.setBannerMode(Banner.Mode.OFF);
        app.run(args);
//        log.info("启动成功：sa-token配置如下：" + SaTokenManager.getConfig());
        log.info("PortalApplication is success!");
    }
}
